package request

type EditContestReq struct {
	CID         int64  `json:"CID"`
	UID         string `json:"UID"`
	Title       string `json:"Title"`
	Description string `json:"Description"`
	Begin_time  int64  `json:"BeginTime"`
	End_time    int64  `json:"EndTime"`
	Ctype       int    `json:"Type"`
	Ispublic    int    `json:"IsPublic"`
	Pass        string `json:"Pass"`
	Problems    string `json:"Problems"`
}

type AddContestReq struct {
	UID         string `json:"UID"`
	Title       string `json:"Title"`
	Description string `json:"Description"`
	Begin_time  int64  `json:"BeginTime"`
	End_time    int64  `json:"EndTime"`
	Ctype       int    `json:"Type"`
	Ispublic    int    `json:"IsPublic"`
	Pass        string `json:"Pass"`
	Problems    string `json:"Problems"`
}

type ContestListReq struct {
	GetListReq
}

type DeleteContestReq struct {
	CIDs []int64 `json:"CIDs"`
}
type GetBaseContestReq struct {
	CID  int64 
}

type GetContestReq struct {
	CID  int64 
	Pass string `query:"Pass"`
}

type GetContestRankReq struct {
	GetContestReq
}

type CloneContestReq struct {
	UID string `json:"UID"`
	CID int64  `json:"CID"`
}

type UpdateConproColorReq struct {
	CID int64  `json:"CID"`
	PID string `json:"PID"`
	Color string `json:"Color"`
}

type UpdateConproScoreReq struct {
	CID int64  `json:"CID"`
	PID string `json:"PID"`
	Score int `json:"Score"`
}
type GetWsRankClientReq struct {
	GetContestReq
}